package com.ktjiaoyu.crm.common;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.io.Serializable;

@ConfigurationProperties(prefix = "com.ktjiaoyu")
@Configuration
public class KtjiaoyuInfo implements Serializable {
    @Value("${com.ktjiaoyu.name}")
    private String name;
    @Value("${com.ktjiaoyu.email}")
    private String email;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }
}
